-- GENERATED SPELL FOR [Rage Scar Yeti] --


function spell0_5296(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_5296', 584, 1)
end

function Sorts_5296(pUnit, Event)
local choix_sorts_5296 = math.random(0, 0)
if choix_sorts_5296 == 0 then
pUnit:RegisterEvent('spell0_5296', 1, 1)
end
end

function mob5296_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5296', math.random(1500, 3000), 1)
end

function mob5296_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5296_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5296_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5296, 1, 'mob5296_Action')
RegisterUnitEvent(5296, 2, 'mob5296_Leave')
RegisterUnitEvent(5296, 3, 'mob5296_Kill')
RegisterUnitEvent(5296, 4, 'mob5296_Die')
